package com.cyf.db.bean;

import java.util.Date;

/**
 * Created by asus on 2017/6/21.
 */
public class Users {

    private Integer id;
    private String mobile;
    private Date createdTime;
    // app
    private String token;
    private Integer ebBalance;   // EB余额
    private String version;     // 用户使用的app版本
    private String iosVersion;     // 用户使用的app版本
    private String portraitPath;    // 用户头像保存路径
    private String imusername;  //环信 登录账号
    private String impassword; //环信 登录密码

    // 微信
    private String openid;      // 微信公众号 唯一id
    // pc端
    private String username;    // 用户名
    private String pwd;         // 密码
    private int gender;         // 性别
    // toc业务层相关

    private Integer sendStatisMsg; // 是否发送人管平台的统计信息 1是
    private Integer status;         // 状态 1有效 0无效
    private Integer associateInfoId;// 合伙人id

    private Integer userAuth;//0 PC、1易停宝、2服务APP、3 1+2

    private Double balance;//余额

    /**
     * 企业用户id
     */
    private int companyId = 0;


    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", mobile='" + mobile + '\'' +
                ", createdTime=" + createdTime +
                ", token='" + token + '\'' +
                ", ebBalance=" + ebBalance +
                ", version='" + version + '\'' +
                ", iosVersion='" + iosVersion + '\'' +
                ", portraitPath='" + portraitPath + '\'' +
                ", imusername='" + imusername + '\'' +
                ", impassword='" + impassword + '\'' +
                ", openid='" + openid + '\'' +
                ", username='" + username + '\'' +
                ", pwd='" + pwd + '\'' +
                ", gender=" + gender +
                ", sendStatisMsg=" + sendStatisMsg +
                ", status=" + status +
                ", associateInfoId=" + associateInfoId +
                ", userAuth=" + userAuth +
                ", balance=" + balance +
                ", companyId=" + companyId +
                '}';
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
        this.balance = balance;
    }

    public Integer getUserAuth() {
        return userAuth;
    }

    public void setUserAuth(Integer userAuth) {
        this.userAuth = userAuth;
    }

    public String getImusername() {
        return imusername;
    }

    public void setImusername(String imusername) {
        this.imusername = imusername;
    }

    public String getImpassword() {
        return impassword;
    }

    public void setImpassword(String impassword) {
        this.impassword = impassword;
    }

    public Integer getAssociateInfoId() {
        return associateInfoId;
    }

    public void setAssociateInfoId(Integer associateInfoId) {
        this.associateInfoId = associateInfoId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getEbBalance() {
        return ebBalance;
    }

    public void setEbBalance(Integer ebBalance) {
        this.ebBalance = ebBalance;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getIosVersion() {
        return iosVersion;
    }

    public void setIosVersion(String iosVersion) {
        this.iosVersion = iosVersion;
    }

    public String getPortraitPath() {
        return portraitPath;
    }

    public void setPortraitPath(String portraitPath) {
        this.portraitPath = portraitPath;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public Integer getSendStatisMsg() {
        return sendStatisMsg;
    }

    public void setSendStatisMsg(Integer sendStatisMsg) {
        this.sendStatisMsg = sendStatisMsg;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
